home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kolekce / d12345 / CHEMPLOT.ZIP / TPlot / BCB Demo / Normal1.h < prev   
C/C++ Source or Header  |  2001-04-27  |  2KB  |  74 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef Normal1H
  3. #define Normal1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "Plot.hpp"
  10. #include "PlotMenu.hpp"
  11. #include <ExtCtrls.hpp>
  12. #include <Menus.hpp>
  13. #include <Grids.hpp>
  14. #include <Buttons.hpp>
  15. #include "NEdit.hpp"
  16. #include "Nedit.hpp"
  17. #include "Plotimagelist.hpp"
  18. #include "Plotmenu.hpp"
  19. #include "Plottoolbar.hpp"
  20. #include <ComCtrls.hpp>
  21. #include <ToolWin.hpp>
  22. //---------------------------------------------------------------------------
  23.  
  24. typedef TSeries* PSeries;
  25.  
  26. #define PI 3.1415926535897
  27. #define RADIUS 50
  28.  
  29. class TMainForm : public TForm
  30. {
  31. __published:    // IDE-managed Components
  32.     TStringGrid *StringGrid1;
  33.     TPanel *Panel1;
  34.     TLabel *Label1;
  35.     TLabel *Label2;
  36.     TLabel *Label3;
  37.     TLabel *Label4;
  38.     TLabel *Label5;
  39.     TBitBtn *GoBitBtn;
  40.     TBitBtn *PlotTypeBitBtn;
  41.     TBitBtn *BitBtn3;
  42.     TBitBtn *GoCrazyBitBtn;
  43.     TBitBtn *TraceBitBtn;
  44.     TBitBtn *ClearAllBitBtn;
  45.     TNEdit *MinNEdit;
  46.     TNEdit *MaxNEdit;
  47.     TNEdit *StepSizeNEdit;
  48.     TNEdit *MeanNEdit;
  49.     TNEdit *StdDevNEdit;
  50.     TTimer *CrazyTimer;
  51.     TPlot *Plot1;
  52.     TPlotImageList *PlotImageList1;
  53.     TPlotMenu *PlotMenu1;
  54.     void __fastcall FormCreate(TObject *Sender);
  55.     void __fastcall ExitMenuItemClick(TObject *Sender);
  56.     void __fastcall GoBitBtnClick(TObject *Sender);
  57.     void __fastcall PlotTypeBitBtnClick(TObject *Sender);
  58.     void __fastcall BitBtn3Click(TObject *Sender);
  59.     void __fastcall TraceBitBtnClick(TObject *Sender);
  60.     void __fastcall ClearAllBitBtnClick(TObject *Sender);
  61.     void __fastcall GoCrazyBitBtnClick(TObject *Sender);
  62.     void __fastcall CrazyTimerTimer(TObject *Sender);
  63.     void __fastcall Plot1FileOpen(TObject *Sender, AnsiString TheFile);
  64. private:    // User declarations
  65.     Integer StartWidth, StartHeight;
  66.     Single Angle, AngleInc;
  67. public:        // User declarations
  68.     __fastcall TMainForm(TComponent* Owner);
  69. };
  70. //---------------------------------------------------------------------------
  71. extern PACKAGE TMainForm *MainForm;
  72. //---------------------------------------------------------------------------
  73. #endif
  74.